package com.mes.cloud.api.dto.request.product;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 产品目录
 * 
 * @author ysd
 * @version 2019-08-20 16:23:41
 * @email shaodong.yuan@pactera.com
 */
@Data
public class ProductDirectoryPageRequest implements Serializable{
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "当前页", required = true)
    @NotNull(message = "currentPage不能为空")
    private int currentPage;

    @ApiModelProperty(value = "每页条数", required = true)
    @NotNull(message = "pageSize不能为空")
    private int pageSize;

    @ApiModelProperty(value = "品牌ID", required = false)
    private String brandId;

    @ApiModelProperty(value = "查询条件", required = false)
    private String queryString;

}
